package app
{
	public class App {
		
		public static var screenwid:Number 			= 600;
		public static var screenhei:Number 			= 400;
		
		public static var xs:Number 				= 0;
		public static var nx:Number 				= 0;
		
		public static var onesec:Number 			= 28;
		public static var linespeednormal:Number 	= 1.5;
		public static var linespeedrandom:Number 	= 20;
		public static var triplebonus:Number 		= 0;
		public static var slowtime:Number 			= 400;
		public static var bigtime:Number 			= 400;
		public static var bonusnil:Number 			= 3000;
		public static var triplebonustime:Number 	= 400;
		public static var removeballdelay:Number 	= 50;
		public static var removeball:Number 		= 0;
		public static var gotwaktu:Number 			= 30;
		public static var pspeed:Number 			= 15;
		public static var bde:Number 				= 100;
		public static var yland:Number 				= 400;
		public static var ballcolor:Number 			= 1;
		public static var ringxmin:Number 			= -40;
		public static var xmin:Number 				= 50;
		public static var ymin:Number 				= 10;
		public static var grav:Number 				= 2;
		public static var dotspacebig:Number 		= 34;
		public static var b:Number 					= 40100;
		public static var bd:Number 				= 20000;
		public static var bsd:Number 				= 1000;
		public static var rd:Number 				= 35000;
		public static var popd:Number 				= 90000;
		
		public static var pymin:Number 				 = 0;
		public static var pymax:Number 				 = 0;
		public static var powermax:Number 			 = 0;
		public static var powermin:Number 			 = 0;
		public static var powerrange:Number 		 = 0;
		public static var powerdiv:Number 		 	 = 0;
		
		
		public static var ringxmax:Number 			= screenwid + 40;
		public static var xmax:Number 				= screenwid - 50;
		public static var ymax:Number 				= screenhei - 50;
		public static var px:Number 				= 0;
		public static var py:Number 				= 0;
		public static var hd:Number 				= 0;
		public static var waktumax:Number 			= 0;
		public static var hold:int 					= 0;
		public static var dx:Number 				= 0;
		public static var balldist:Number 			= 0;
		public static var p_x:Number 			= 0;
		public static var p_y:Number 			= 0;
		
		public static var oldx:Number 				= 0;
		public static var ang:Number 				= 0;
		public static var closeball:Ball 				= null;
		
		public static var waktu:Number 				= waktumax = 120 * onesec;
		public static var bonustime:Number 			= 20 * onesec;
		public static var act:String 				= "";
		//
		//public static var diff:Number 				= diffdelay = 800;
		//public static var ang:Number 				= timeup = freeze = got = big = slow = multiball = triplebonus = hold = 0;
		//public static var ringd:Number 				= ringdelay 	= 10;
		//public static var td:Number 				= trafficdelay 	= 200;
		//public static var dd:Number 				= bonusdelay 	= 6;
		//public static var dotspace:Number 			= dotspacenormal = 23;
		//
		public static var ringscore:Array 			= [0, 100, 150, 200, 250];
		public static var multiringscore:Array  	= [0, 0, 1000, 3000];
		public static var linepos:Array  			= [null, 75, 138, 200];
		public static var linedir:Array  			= [null, 1, -1, 1];
		public static var linespeed:Array  			= [null, linespeednormal, linespeednormal + 1, linespeednormal + 0.5];
		public static var linefree:Array  			= [null, 1, 2, 3];
		public static var lineid:Array  			= [1, 2, 3];
		public static var bonustipe:Array  			= [11, 12, 13, 14, 15, 16];
		public static var rings:Array  				= [];
		public static var dots:Array  				= [];
		public static var balls:Array  				= [];
		
		public static var ballFactory:BallFactory;
		
		//public static var resetrandom();
		
		public static var ACTIVE_SHOOT_OUT:String 	= "ACTIVE_SHOOT_OUT";
		
		
	}
}